/*
 * Address.java
 *
 * Created on 02 December 2007, 19:31
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package googlecode.menagerie.axis2.pojo.complex;

/**
 *
 * @author sowen
 */
public class Address {
    
   private String road;
   private String city;
   private int roadNumber;

    public String getRoad() {
        return road;
    }

    public void setRoad(String road) {
        this.road = road;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public int getRoadNumber() {
        return roadNumber;
    }

    public void setRoadNumber(int roadNumber) {
        this.roadNumber = roadNumber;
    }
   
    @Override
    public String toString() {
        return roadNumber+", "+road+". "+city+".";
    }
   
    
}
